from django.contrib import admin
from django.urls import path, include
# from django_restframework_jwt.views import IndexView
from .views import *

urlpatterns = [
    path('paperInformation/', PaperInformationView.as_view()),
    path('paperInfoInit/', PaperInfoInitView.as_view()),
    path('paperInfoInitNoToken/', PaperInfoInitNoTokenView.as_view()),
    path('aboutListInit/', AboutListInitView.as_view()),
#path('aboutListInitNoToken/', paper.views.AboutListInitNoTokenView.as_view()),
    path('aboutNoteInit/', AboutNoteInitView.as_view()),
    path('aboutNoteInitNoToken/', AboutNoteInitNoTokenView.as_view()),
    path('paperRemarkInit/', PaperRemarkInitView.as_view()),
    path('paperRemarkInitNoToken/', PaperRemarkInitNoTokenView.as_view()),
    path('paperQuote/',PaperQuoteView.as_view()),
    path('paperCollection/', PaperCollectionView.as_view()),
    path('search/', ESSearchView.as_view()),
    path('paperComplain/', PaperComplainView.as_view()),
    path('uploadNote/', UploadNoteView.as_view()),
    path('noteInit/', NoteInitView.as_view()),
    path('authorInit/', AuthorInitView.as_view()),
    path('authorInitNoToken/', AuthorInitNoTokenView.as_view()),
    path('otherNoteInit/', OtherNoteInitView.as_view()),
    path('otherNoteInitNoToken/', OtherNoteInitNoTokenView.as_view()),
    path('noteInfoInit/', NoteInfoInitView.as_view()),
    path('noteInfoInitNoToken/', NoteInfoInitNoTokenView.as_view()),
    path('noteRemarkInit/', NoteRemarkInitView.as_view()),
    path('noteRemarkInitNoToken/', NoteRemarkInitNoTokenView.as_view()),
    path('uploadComment/', UploadCommentView.as_view()),
    path('likeIt/', LikeItView.as_view()),
    path('tipOff/', TipOffView.as_view()),
    path('subscribe/', SubscribeView.as_view()),
    ]